<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<html>
  <head>
    
    <title>userInfo save or update</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <h1>userInfo save or update. </h1>
    	<br>
    
	<s:form action="save.do" namespace="/center/userinfo/" method="post" enctype="multipart/form-data">
		<table >
			<tr>
				<th>真实姓名：</th><td><s:textfield name="userInfo.realName" /></td>
			</tr>
			<tr>
				<th>email</th><td><s:textfield name="userInfo.email" /></td>
			</tr>
			<tr>
				<th>上传文件</th><td>
				<input type="file" name="upload"> 
			</tr>
		</table>
		
		<s:hidden name="userInfo.id" />
		<input type="submit" value="上传并保存用户信息" />
	</s:form>
  </body>
</html>
